package com.itheima.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.domain.Book;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BookDao extends BaseMapper<Book> {
    //如果不使用MyBatis Plus
    //@Select("select * from t_book where id=#{id}")
    //Book getById(Integer id);

}
